package com.lx.principles.demo5;

/**
 * @ClassName Agent
 * @Description: //todo
 * @Author: 落雪
 * @CreateDate: 2025/1/12 14:59
 * @UpdateUser: 落雪
 * @UpdateDate: 2025/1/12 14:59
 * @UpdateRemark:
 * @Version: 1.0
 */
public class Agent {

    private Company company;

    private Fans fans;

    private Star star;

    public Company getCompany() {
        return company;
    }

    public void setCompany(Company company) {
        this.company = company;
    }

    public Fans getFans() {
        return fans;
    }

    public void setFans(Fans fans) {
        this.fans = fans;
    }

    public Star getStar() {
        return star;
    }

    public void setStar(Star star) {
        this.star = star;
    }

    public void meeting(){
        System.out.println("粉丝"+fans.getName()+"和"+star.getName()+"见面");
    }

    public void business(){
        System.out.println("媒体公司"+company.getName()+"和"+star.getName()+"洽谈");
    }
}
